package com.freesky.biz.pay.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

@Configuration
public class AliPayConfiguration {

    @Value("${alipay.pay.appId}")
    private String appId;

    @Value("${alipay.pay.privateKey}")
    private String privateKey;

    @Value("${alipay.pay.signType}")
    private String signType;

    @Value("${alipay.pay.gatewayUrl}")
    private String gatewayUrl;

    @Value("${alipay.pay.appCertPath}")
    private String appCertPath;

    @Value("${alipay.pay.alipayCertPath}")
    private String alipayCertPath;

    @Value("${alipay.pay.alipayRootCertPath}")
    private String alipayRootCertPath;

    @Value("${alipay.pay.notifyUrl}")
    private String notifyUrl;

    @Value("${alipay.pay.aesEncryptKey}")
    private String aesEncryptKey;

    @Value("${alipay.pay.charset}")
    private String charset;


    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getPrivateKey() {
        return privateKey;
    }

    public void setPrivateKey(String privateKey) {
        this.privateKey = privateKey;
    }

    public String getSignType() {
        return signType;
    }

    public void setSignType(String signType) {
        this.signType = signType;
    }

    public String getAppCertPath() {
        return appCertPath;
    }

    public void setAppCertPath(String appCertPath) {
        this.appCertPath = appCertPath;
    }

    public String getAlipayCertPath() {
        return alipayCertPath;
    }

    public void setAlipayCertPath(String alipayCertPath) {
        this.alipayCertPath = alipayCertPath;
    }

    public String getAlipayRootCertPath() {
        return alipayRootCertPath;
    }

    public void setAlipayRootCertPath(String alipayRootCertPath) {
        this.alipayRootCertPath = alipayRootCertPath;
    }

    public String getNotifyUrl() {
        return notifyUrl;
    }

    public void setNotifyUrl(String notifyUrl) {
        this.notifyUrl = notifyUrl;
    }

    public String getAesEncryptKey() {
        return aesEncryptKey;
    }

    public void setAesEncryptKey(String aesEncryptKey) {
        this.aesEncryptKey = aesEncryptKey;
    }

    public String getGatewayUrl() {
        return gatewayUrl;
    }

    public void setGatewayUrl(String gatewayUrl) {
        this.gatewayUrl = gatewayUrl;
    }

    public String getCharset() {
        return charset;
    }

    public void setCharset(String charset) {
        this.charset = charset;
    }
}
